package com.raymond.entity.commons;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * desc-排序字段类型
 *
 * @author houmenghe
 * @date 2025/4/21 15:32
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SortBuilder implements Serializable {

    private static final long serialVersionUID = -4798974932231990613L;
    /**
     * 排序字段 多个 英文,分开
     */
    private String sortField;
    /**
     * 排序 0 升序 1 降序
     */
    private Integer orderBy;
}
